package cn.kgc.tangcco.config;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author 李昊哲
 * @Description
 * @create 2020/12/26 8:56
 */
@Configuration
@ConfigurationProperties()
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
public class JdbcConf {

    @Value("${jdbc.diver}")
    private String diver;

    @Value("${jdbc.url}")
    private String url;

    @Value("${jdbc.username}")
    private String username;

    @Value("${jdbc.password}")
    private String password;

}
